package com.zero.qth.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 司机注册列表对象 driver_review
 *
 * @author cai-xu-kun
 * @date 2025-08-15
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DriverReview extends BaseEntity {
    /** 审核记录ID */
    @Excel(name = "审核记录ID")
    private Long id;

    /** 头像图片 */
    @Excel(name = "头像图片")
    private String profileImg;

    /** 姓氏 */
    @Excel(name = "姓氏")
    private String surname;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 性别（0男 1女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private Integer sex;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String emergencyContact;

    /** 紧急联系人电话 */
    @Excel(name = "紧急联系人电话")
    private String emergencyContactPhone;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 身份证照片正面 */
    @Excel(name = "身份证照片正面")
    private String idCardFrontImg;

    /** 身份证照片反面 */
    @Excel(name = "身份证照片反面")
    private String idCardBackImg;

    /** 驾驶证照片正面 */
    @Excel(name = "驾驶证照片正面")
    private String driverCardFrontImg;

    /** 驾驶证照片反面 */
    @Excel(name = "驾驶证照片反面")
    private String driverCardBackImg;

    /** 驾驶证领取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "驾驶证领取时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date driverCardReceiveTime;

    /** 驾驶证到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "驾驶证到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date driverCardExpriesTime;

    /** 驾龄 */
    @Excel(name = "驾龄")
    private Integer driverAge;

    /** 准驾车型（0C2 1C1 2B2 3B1 4A3 5A2 6A1） */
    @Excel(name = "准驾车型", readConverterExp = "0=C2,1=C1,2=B2,3=B1,4=A3,5=A2,6=A1")
    private String driverCarType;

    /** 审核状态（0待审核 1已通过 2已驳回） */
    @Excel(name = "审核状态", readConverterExp = "0=待审核,1=审核通过,2=审核失败, 3=禁用 ")
    private Integer auditStatus;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String auditReason;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardId;

    @Excel(name = "司机ID")
    private Long driverId;
}
